SHELL Function ---------------------------------------------------------------------------- Action Returns an integer value that is the OS-2 process ID for the shelled process. Syntax SHELL( commandstring$) Remarks The argument commandstring$ is the name of the OS-2 process to be executed, along with any command-line arguments that the executed process requires. The command string is required. The SHELL function is used only under OS-2 protected mode. Like the SHELL statement, the OS-2 protected-mode SHELL function permits a BASIC program to execute another process. In addition, the SHELL function allows the BASIC program to continue execution without waiting for the child process to terminate, and returns the process ID of the child process. The process ID is used by some of the OS-2 API functions (which can be called from BASIC). See Also